<?php
namespace Admin\Model;
use \Think\Model;

class MatchModel extends  Model{

    public function finded($where){
        $list=$this->where($where)->find();
        return $list;
    }


    public function update($where,$data){
        $res=$this->where($where)->save($data);
        return $res;

    }

    public function deleted($where){
        $res=$this->where($where)->delete();
        return $res;
    }

}